<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="kulstats.*" %>
<%@ page import="com.google.appengine.api.users.UserService" %>
<%@ page import="com.google.appengine.api.users.UserServiceFactory" %>

<%

UserManager userManager = Registry.userManager();
User currentUser = userManager.getCurrentUser();
CalculatePoints calculatePoints = new CalculatePoints();
if(currentUser == null)
	response.sendRedirect("/login");
UserService userService = UserServiceFactory.getUserService();
WebCache.logoutURL = userService.createLogoutURL("/login");

%>
<%! /*String logoutURL = UserServiceFactory.getUserService().createLogoutURL("/login");*/ %>